private ["_startPos",""_killer","_unit","_effect","_prev","_startingGun","_addMagazine","startingAmmo","_weapon"];

_startPos = (getPos Town);

[] spawn {
while {true} do {
removeAllWeapons player;
_startingGun = "Colt1911";
_startingAmmo = "7Rnd_45ACP_1911";
{player _addMagazine _startingAmmo} [_mag, 12] forEach [1,2,3,4,5,6,7];
sleep 55;
player sideChat "Get Ready For Weapon Swap";
sleep 5; 
};
};


removeAllWeapons player;
player action ["switchWeapon"];
 _weapon = CVG_weapons call BIS_fnc_selectRandom;
sleep 60



while {alive player} do {removeAllWeapons player;
player action ["switchWeapon"];
 _weapon = CVG_weapons call BIS_fnc_selectRandom && addMagazineCargoGlobal [_mag, 12];
sleep 60};




_killer = _this select 1;
_effect = _this select 2; // can be hit or killed
if ((isServer) && (_effect == "killed")) then {kills = kills + 1; hint "kills";};
if (_killer != player) exitWith {hint "hi";};



_prev = player getVariable "Points";

if (_effect == "hit") then {
	player setVariable ["Points",_prev + 100,true];
	player sideChat "+100";
};

if (_effect == "killed") then {
	player setVariable ["Points",_prev + 500,true];
	player sideChat "+500";
};

























